﻿using Abp.Authorization.Roles;
using FutureApp.Users;

namespace FutureApp.Authorization.Roles
{
    /// <summary>
    /// 角色组
    /// </summary>
    public class Role : AbpRole<User>
    {
        /// <summary>
        /// 初始化 <see cref="Role"/> 的新实例
        /// </summary>
        public Role()
        {
        }

        /// <summary>
        /// 初始化 <see cref="Role"/> 的新实例
        /// </summary>
        /// <param name="tenantId">租户ID</param>
        /// <param name="displayName">角色名称</param>
        public Role(int? tenantId, string displayName)
            : base(tenantId, displayName)
        {
        }

        /// <summary>
        /// 初始化 <see cref="Role"/> 的新实例
        /// </summary>
        /// <param name="tenantId">租户ID</param>
        /// <param name="name">角色唯一名称</param>
        /// <param name="displayName">角色显示名称</param>
        public Role(int? tenantId, string name, string displayName)
            : base(tenantId, name, displayName)
        {
        }
    }
}